home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Interfaces / AIncludes / Traps.a < prev    next >
Encoding:
Text File  |  1996-01-24  |  2.0 KB  |  84 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        Traps.a
  3. ;
  4. ;    Contains:    A-Trap constants.
  5. ;
  6. ;    Version:    Technology:    System 7.5
  7. ;                Package:    Universal Interfaces 2.2 in “MPW” on ETO #20
  8. ;
  9. ;    Copyright:    © 1984-1995 by Apple Computer, Inc.
  10. ;                All rights reserved.
  11. ;
  12. ;    Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13. ;                stack.  Include the file and version information (from above)
  14. ;                in the problem description and send to:
  15. ;                    Internet:    apple.bugs@applelink.apple.com
  16. ;                    AppleLink:    APPLE.BUGS
  17. ;
  18. ;
  19.  
  20.     IF &TYPE('__TRAPS__') = 'UNDEFINED' THEN
  21. __TRAPS__ SET 1
  22.  
  23.  
  24.     IF &TYPE('__CONDITIONALMACROS__') = 'UNDEFINED' THEN
  25.     include 'ConditionalMacros.a'
  26.     ENDIF
  27.  
  28. ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  29. ;
  30. ;         Trap OPWORDS are now defined in each manager    
  31. ;         
  32. ;             Example:
  33. ;            
  34. ;                _GetResource    OPWORD    $A9A0
  35. ;                
  36. ;             is now in the file 'Resources.a'
  37. ;        
  38. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 
  39.     IF OLDROUTINENAMES  THEN
  40.  
  41. ;
  42. ;        The following equates are for compatibility with old option bits
  43. ;        
  44. ;            Example:
  45. ;                    _NewPtr, sys        ; old way
  46. ;        
  47. ;        The new way is to use the C name:
  48. ;        
  49. ;            Examle:
  50. ;                    _NewPtrSys            ; new way
  51. ;
  52. ;
  53.  
  54. ;
  55. ; for Device and File Manager routines 
  56. immed                            EQU        $200                ; execute immediately, bypass I/O queue
  57. async                            EQU        $400                ; asynchronous, don't wait for completion
  58. ;
  59. ; for Memory Manager routines 
  60. clear                            EQU        $200
  61. sys                                EQU        $400
  62. ;
  63. ; for string routines 
  64. marks                            EQU        $200                ; set to ignore/strip diacriticals
  65. Case                            EQU        $400                ; set for case sensitivity        
  66. autoPop                            EQU        $400                ; set to pop an extra return address
  67. ;
  68. ; for Get/Set & NGet/NSet TrapAddress 
  69. newTool                            EQU        $600                ; Toolbox trap, under new ordering
  70. newOS                            EQU        $200                ; OS trap, under new ordering
  71. ;
  72. ; for HFS routines 
  73. newHFS                            EQU        $200
  74.  
  75.     ENDIF
  76.     IF ¬ GENERATINGCFM THEN
  77.         _Unimplemented:    OPWORD    $A89F
  78.         _FP68K:            OPWORD    $A9EB
  79.         _Elems68K:        OPWORD    $A9EC
  80.         _DecStr68K:        OPWORD    $A9EE
  81.     ENDIF
  82.     ENDIF ; __TRAPS__
  83.